Fri Apr 30 00:19:11 2004 Matthias Clasen <maclas@gmx.de>
* xdgmimemagic.c (_xdg_mime_magic_read_a_number): Make sure
the static string is long enough. (#136323, Morten Welinder)
+Fri Apr 30 00:19:11 2004 Matthias Clasen <maclas@gmx.de>
+
+ * xdgmimemagic.c (_xdg_mime_magic_read_a_number): Make sure
+ the static string is long enough. (#136323, Morten Welinder)
+
2004-03-12 Morten Welinder <terra@gnome.org>
* *.c: Make sure to include <config.h> (#137001)
{
/* LONG_MAX is about 20 characters on my system */
#define MAX_NUMBER_SIZE 30
- char number_string[MAX_NUMBER_SIZE];
+ char number_string[MAX_NUMBER_SIZE + 1];
int pos = 0;
int c;
long retval = -1;